home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / dberrors.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.2 KB  |  32 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------------
  9. USEFILE("readme.txt");
  10. USEFORM("main.cpp", FmMain);
  11. USERES("dberrors.res");
  12. USEDATAMODULE("DM1.cpp", DM);
  13. USEFORM("About.cpp", FmAboutBox);
  14. //---------------------------------------------------------------------
  15. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  16. {
  17.    try
  18.    {
  19.         Application->Initialize();
  20.         Application->CreateForm(__classid(TFmMain), &FmMain);
  21.         Application->CreateForm(__classid(TDM), &DM);
  22.         Application->CreateForm(__classid(TFmAboutBox), &FmAboutBox);
  23.         Application->Run();
  24.    }
  25.    catch (Exception &exception)
  26.    {
  27.         Application->ShowException(&exception);
  28.    }
  29.         return 0;
  30. }
  31. //---------------------------------------------------------------------------
  32.